package zhang.lao.service.sms;/**
 * Created by zhangqin on 2018/1/15.
 */

/**
 * @author
 * @create 2018-01-15 9:29
 **/
public interface SmsService {

    /**
     * 获取验证码
     * @param phoneNumber
     * @return
     */
    public String getValidateCode(String phoneNumber);

    /**
     * 验证验证码
     * @param phoneNumber
     * @return
     */
    public boolean validateCode(String phoneNumber, String code);
}